---
title: Dark Mode
metaDescription: Dark Mode uses a darker color palette for all screens, making foreground content stand out against darker backgrounds.
supportedFrameworks: angular|flutter|react|react-native|vue
---

import { InlineFilter } from '@/components/InlineFilter';
import { FRAMEWORKS } from '@/data/frameworks';
import { getCustomStaticPath } from '@/utils/getCustomStaticPath';
import AngularPage from './angular.mdx';
import FlutterPage from './flutter.mdx';
import ReactPage from './react.mdx';
import ReactNativePage from './react-native.mdx';
import VuePage from './vue.mdx';

export async function getStaticPaths() {
  return getCustomStaticPath(frontmatter.supportedFrameworks);
}

{/*  `getStaticProps` is required to prevent "Error: getStaticPaths was added without a getStaticProps. Without getStaticProps, getStaticPaths does nothing" */}

export async function getStaticProps() {
  return { props: {} }
}

<InlineFilter filters={['angular']}>
  <AngularPage />
</InlineFilter>
<InlineFilter filters={['flutter']}>
  <FlutterPage />
</InlineFilter>
<InlineFilter filters={['react']}>
  <ReactPage />
</InlineFilter>
<InlineFilter filters={['react-native']}>
  <ReactNativePage />
</InlineFilter>
<InlineFilter filters={['vue']}>
  <VuePage />
</InlineFilter>
